import React, {useEffect} from 'react';
import {getFindByParentIdAsync} from "@/store/slices/dict";
import {useAppDispatch} from "@/hooks";

function Dict() {
    const dispatch = useAppDispatch();
    useEffect(()=>{
        dispatch(getFindByParentIdAsync(1));
    },[]);
    return (
        <div>数据字典</div>
    );
}

export default Dict;